<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: bobo
  Date: 16-10-27
  Time: 上午11:16
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<div>
    <h1>个人信息</h1>
    ID:${admin.id}<br>
    用户名：${admin.name}<br>
    级别：<c:if test="${admin.level==0}">超级管理员</c:if>
         <c:if test="${admin.level==1}">文章管理员</c:if>
         <c:if test="${admin.level==2}">用户管理员</c:if>
         <c:if test="${admin.level==2}">类别管理员</c:if>
    <br>
    <a href="${pageContext.request.contextPath}/admin/upd?id=${admin.id}">更新资料密码</a>
</div>
</body>
</html>
